<h1>Rezultati pretrage</h1>

<? if(empty($search_params)): ?>
	<p>Odaberite parametre pretrage.</p>
<? elseif(!empty($search_params) && empty($products)): ?>
	<p>Za odabrane parametre pretrage nema rezultata.</p>
<? else: ?>
	<?= $this->fetch("product/_list", array(
			"products" => $products,
			"total" => $total,
			"link" => "/search/products/%s/",
			"page" => $page
	)); ?>
<? endif; ?>